{% extends "dappx/base.html" %}

{% block body_block %}
{% load dict_key  %}
<div class="container">
<table class="table">
  <thead>
    <tr>
      <th scope="col">AccessBy</th>
      <th scope="col">Times</th>
      <th scope="col">Last Access</th>
    </tr>
  </thead>
  {% if num_entries != "0" %}
  <tbody>
     {% for entry in entries %}
    <tr>
	    <td>{{ entry|dict_key:"openby" }}</td>
	    <td>{{ entry|dict_key:"accesstimes" }}</td>
	    <td>{{ entry|dict_key:"accesstime" }}</td>
    </tr>
    {% endfor %}
  </tbody>
  {% else %}
  <p>No open history found.</p>
  {% endif %}
</table>
</div>
{% endblock %}

